using System;
using System.Collections.Generic;
using System.Text;

namespace Lapas.Common
{
    /// <summary>
    /// 20081125 HopNQ create: 
    /// Object chua thong tin setting cho phieu lenh review
    /// </summary>
    
    public static class TicketSettings
    {

        public static Ticket TicketBuy;
        public static Ticket TicketSell;
    }

    // Object chua thong tin cac label trong 1 ticket
    public class Ticket
    {
        private Coordinates stockCode;
        public Coordinates StockCode
        {
            get { return stockCode; }
            set { stockCode = value; }
        }    

        private Coordinates orderVolume;
        public Coordinates OrderVolume
        {
            get { return orderVolume; }
            set { orderVolume = value; }
        }    

        private Coordinates orderPrice;
        public Coordinates OrderPrice
        {
            get { return orderPrice; }
            set { orderPrice = value; }
        } 

        private Coordinates orderTime;
        public Coordinates OrderTime
        {
            get { return orderTime; }
            set { orderTime = value; }
        } 

        private Coordinates orderSeq;
        public Coordinates OrderSeq
        {
            get { return orderSeq; }
            set { orderSeq = value; }
        } 

        private Coordinates customerName;
        public Coordinates CustomerName
        {
            get { return customerName; }
            set { customerName = value; }
        } 

        private Coordinates customerId;
        public Coordinates CustomerId
        {
            get { return customerId; }
            set { customerId = value; }
        } 

        private Coordinates cardIdentity;
        public Coordinates CardIdentity
        {
            get { return cardIdentity; }
            set { cardIdentity = value; }
        }
    }

    //object toa do:Top (Y), Left (X)
    public class Coordinates
    {
        private int top;
        public  int Top
        {
            get{return top;}
            set { top = value; }
            
        }

        private int left;
        public int Left
        {
            get { return left; }
            set { left = value; }

        }
    }
}
